package com.wfm.entity;
 
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity; 

import com.core.entity.AbstractEntity;

/**
 * 流程实例——节点实例
 */
@Entity 
public class TB_WFM_INS_NODE  extends AbstractEntity  { 
	private static final long serialVersionUID = 1L;
	
	//环节定义信息
	@Column(length=32,nullable=false)
	private String NID; // 环节定义ID ， TB_WFM_DEF_NODE.ID 
	@Column(length=50)
	private String N_NAME; // 流程节点名称 ,TB_WFM_DEF_NODE.NAME
	@Column(length=32)
	private String N_CODE; // 节点编码,TB_WFM_DEF_NODE.CODE
	@Column(length=32)
	private String N_TYPE; // 节点类型 ：TB_WFM_DEF_NODE.TYPE,开始、结束、任务节点（处理任务、处理人） 、并行分、并行合 
	 //环节表单
	@Column(length = 100)
	private String FORM_CODE; // 表单编码：功能——SysFunction.FCODE,文档模板——TB_DP_DOCPAGE.ID
	@Column(length = 32)
	private String FORM_TYPE; // 表单类型：功能——"SysFunction"    ,文档模板——"TB_DP_DOCPAGE"
	 //处理人
	@Column(length = 1000)
    private String HANDLE_IDS; // 处理人ID，逗号分隔
	 
	//关联流程实现信息
	@Column(length=32,nullable=false)
	private String WFID; // 流程实例ID ,TB_WFM_INS_WORKFLOW.ID
	
	//关联上一步环节实例信息
	@Column(length=32 )
	private String P_I_NID; // 上一步节点实例ID ， TB_WFM_INS_NODE.ID 
	private int N_SN;//节点执行序列   
	
	//处理对象信息
	@Column(length = 32)
	private String BO_CODE; // 对象（实体）类型
	@Column(length = 32)
	private String BO_ID;   // 对象ID
	private Date BO_OP_ITEM;// 对象操作时间 
	private int BO_STATUS;  // 对象状态
	
	//节点处理 信息
	private Date CREATE_TIME; // 创建时间  
	@Column(length=32 )
	private String CREATERID;// 创建人  
	@Column(length=25)
	private Date END_TIME;// 结束时间   
	@Column(length=32 )
	private String ACTOR_ID;// 处理人id   
	@Column(length=40 )
	private String PROCESS_RESULT;   // 处理结果（流程流向）
	@Column(length=4000 )
	private String PROCESS_INFO;     // 处理说明  
	public String getNID() {
		return NID;
	}
	public void setNID(String nID) {
		NID = nID;
	}
	public String getN_NAME() {
		return N_NAME;
	}
	public void setN_NAME(String n_NAME) {
		N_NAME = n_NAME;
	}
	public String getN_CODE() {
		return N_CODE;
	}
	public void setN_CODE(String n_CODE) {
		N_CODE = n_CODE;
	}
	public String getN_TYPE() {
		return N_TYPE;
	}
	public void setN_TYPE(String n_TYPE) {
		N_TYPE = n_TYPE;
	}
	public String getFORM_CODE() {
		return FORM_CODE;
	}
	public void setFORM_CODE(String fORM_CODE) {
		FORM_CODE = fORM_CODE;
	}
	public String getFORM_TYPE() {
		return FORM_TYPE;
	}
	public void setFORM_TYPE(String fORM_TYPE) {
		FORM_TYPE = fORM_TYPE;
	}
	public String getHANDLE_IDS() {
		return HANDLE_IDS;
	}
	public void setHANDLE_IDS(String hANDLE_IDS) {
		HANDLE_IDS = hANDLE_IDS;
	}
	public String getWFID() {
		return WFID;
	}
	public void setWFID(String wFID) {
		WFID = wFID;
	}
	public String getP_I_NID() {
		return P_I_NID;
	}
	public void setP_I_NID(String p_I_NID) {
		P_I_NID = p_I_NID;
	}
	public int getN_SN() {
		return N_SN;
	}
	public void setN_SN(int n_SN) {
		N_SN = n_SN;
	}
	public String getBO_CODE() {
		return BO_CODE;
	}
	public void setBO_CODE(String bO_CODE) {
		BO_CODE = bO_CODE;
	}
	public String getBO_ID() {
		return BO_ID;
	}
	public void setBO_ID(String bO_ID) {
		BO_ID = bO_ID;
	}
	public Date getBO_OP_ITEM() {
		return BO_OP_ITEM;
	}
	public void setBO_OP_ITEM(Date bO_OP_ITEM) {
		BO_OP_ITEM = bO_OP_ITEM;
	}
	public int getBO_STATUS() {
		return BO_STATUS;
	}
	public void setBO_STATUS(int bO_STATUS) {
		BO_STATUS = bO_STATUS;
	}
	public Date getCREATE_TIME() {
		return CREATE_TIME;
	}
	public void setCREATE_TIME(Date cREATE_TIME) {
		CREATE_TIME = cREATE_TIME;
	}
	public String getCREATERID() {
		return CREATERID;
	}
	public void setCREATERID(String cREATERID) {
		CREATERID = cREATERID;
	}
	public Date getEND_TIME() {
		return END_TIME;
	}
	public void setEND_TIME(Date eND_TIME) {
		END_TIME = eND_TIME;
	}
	public String getACTOR_ID() {
		return ACTOR_ID;
	}
	public void setACTOR_ID(String aCTOR_ID) {
		ACTOR_ID = aCTOR_ID;
	}
	public String getPROCESS_RESULT() {
		return PROCESS_RESULT;
	}
	public void setPROCESS_RESULT(String pROCESS_RESULT) {
		PROCESS_RESULT = pROCESS_RESULT;
	}
	public String getPROCESS_INFO() {
		return PROCESS_INFO;
	}
	public void setPROCESS_INFO(String pROCESS_INFO) {
		PROCESS_INFO = pROCESS_INFO;
	} 
	 
}
